<template>
  <view class="content">
    <u-parse :html="rule" v-if="rule"></u-parse>
  </view>
</template>

<script>
import { cutPriceConf } from "@/api/marketing/curPrice";

export default {
  data() {
    return {
      rule: null,
    };
  },

  async onLoad() {
    let res = await cutPriceConf();

    if (!res.code && res.data && res.data.conf && res.data.conf.rule) {
      this.rule = res.data.conf.rule;
    }
  },

  methods: {},
};
</script>

<style lang="less" scoped>
.content {
  padding: 52rpx;
}
</style>
